package com.hotel.sampleTool;

import java.util.List;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import com.hotel.BL.HotelCustomSettingLogic;

import data.HotelCustomSetting;

public class HotelCustomSettingSample extends RequestSampleData {
	public HotelCustomSettingSample(HttpServletRequest req,HttpServletResponse resp){
		this.req = req;
		this.resp = resp;
	}
	@Override
	public void CreateSample() {
		CreateSample(1);
	}

	@Override
	public void CreateSample(int iteration) {
		List<HotelCustomSetting> hotelcustomsetting = new HotelCustomSettingLogic().GenerateHotelCustomSetting(1);
		for(HotelCustomSetting a : hotelcustomsetting)
			datastore.put(a.getEntity());
	}


}
